<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<!DOCTYPE>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Home</title>

<link href="views/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="views/css/bootstrap-theme.css" rel="stylesheet"
	type="text/css">
<link href="views/css/style.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="views/js/jquery.min.js"></script>
<script type="text/javascript" src="views/js/bootstrap.min.js"></script>
</head>
<body>


	<!-- HEADER -->
	<div id="header">
		<div class="page-full-width cf">
			<div id="login-intro" class="fl">
				Welcome
				<sec:authentication property="principal.username" />
			</div>
		</div>
	</div>

	<!-- CONTENT -->
	<div id="content">
		
		
		<div class="row">
			<div class="col-xs-6">
				<form:form method="post" action="showRoute" commandName="findRoute">
					<div class="input-group">
						<span class="input-group-addon">Source</span> <form:input type="text"
							class="form-control" placeholder="Enter a place" path="sourcePlace"
							id="SourcePlace"/>
					</div>
					<div class="input-group">
						<span class="input-group-addon">Destination</span> <form:input
							type="text" class="form-control" placeholder="Enter a place"
							path="destPlace" id="DestPlace"/>
					</div>
					<button type="submit" class="btn btn-default navbar-btn">Find
						Route</button>
				</form:form>
			</div>
		</div>
		
		
	</div>

	<!-- FOOTER -->
	<div id="footer">
		<p>
			&copy; Copyright 2014 <a href="#">TEST</a>. All rights reserved.
		</p>
		<p>
			Support by <a href="http://www.adipurdila.com">Developed company</a>
		</p>

	</div>
</body>
</html>